package com.tgy.generic;

/**
 * @Author: tgy
 * @Date: 12/3/20 3:36 PM
 */

class Person<E> {

    private E e;

    public void setE(E e) {

        this.e = e;
    }

    public E getE() {

        return e;
    }
}

class Student extends Person<String>{

    @Override
    public void setE(String s) {


    }

    @Override
    public String getE() {

        return "11";
    }
}

public class Demo02 {

    public static void main(String[] args) {

    }
}
